home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / stufit2.zip / STUFIT.DOC < prev    next >
Text File  |  1989-07-26  |  17KB  |  328 lines

  1.                                STUFIT.COM
  2.                             Disk file stuffer
  3.                             -----------------
  4.  
  5. V0.6 release 6.14.85
  6. Released to to public domain for personal use only.
  7. (c) 1985 Zider Brothers, San Francisco 
  8.  
  9. WARNING: You may lose a file with this program if you:
  10.             . interrupt it during operation
  11.             . run it on a non-IBM compatible machine
  12.               (works OK on a DEC Rainbow)
  13.          This loss is temporary.  See "Caution" section below.
  14.  
  15.  
  16. Program description
  17. -------------------
  18.  
  19. STUFIT is a program that "stuffs" files into the inner part of the disk.
  20.  
  21. That is, it will move a file from the outer part of a disk and into the
  22. free area nearest the spindle.  As a result, this inner area can be used for
  23. lesser-used programs, freeing up the outside tracks for working space.
  24. File access times can be improved considerably, especially for disks
  25. that are more than half full.
  26.  
  27. The program works for hard disks and diskettes.
  28.  
  29. Program syntax help is available on-line, by specifying the program with
  30. no arguments.  Paths are accepted, but a drive designation other
  31. than the default drive will generate an error.
  32.  
  33.  
  34. Disk space management
  35. ---------------------
  36.  
  37. The below display shows the space usage of a typical, just-loaded diskette.
  38. All the lower-numbered tracks (those closest to the directory) are fully
  39. loaded.  The higher-numbered tracks (those closest to the disk spindle,
  40. toward the inner part of the disk) are all empty:
  41.  
  42.      ----------------
  43.       Space Usage for the Complete Diskette
  44.  
  45.          63%  452 sectors given to available free space
  46.                 1 sector  given to the boot record
  47.           1%    4 sectors given to the file allocation table
  48.           1%    7 sectors given to the file directory
  49.          36%  256 sectors given to normal files
  50.                No sectors given to hidden, system or read-only files
  51.                No sectors given to unavailable space (free with CHKDSK)
  52.                No sectors given to conflicting file space allocation
  53.                No sectors given to Bad-Track (unusable)
  54.  
  55.                          Map of Diskette Space
  56.              Track       1         2         3        3
  57.                0123456789012345678901234567890123456789
  58.              1 B■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  ░ Unused sector (free space)
  59.      Side  S 3 F■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  B Boot record
  60.        0   e 5 F■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  F File allocation table
  61.            c 7 D■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  D Directory
  62.      ╞════ t 9 D■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  ■ In use by a normal file
  63.            o 2 D■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  h Hidden, system, read-only
  64.      Side  r 4 ■■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  █ Temporarily unavailable
  65.        1     6 ■■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░  X Conflicting allocation
  66.              8 ■■■■■■■■■■■■■■░░░░░░░░░░░░░░░░░░░░░░░░░░  b Bad-Track (unusable)
  67.       F1-help F2-save F3-new file F4-import data F9-expand  F10-contract Esc-exit
  68.       -------------------------------
  69.  
  70. The complete diskette can all be stuffed by logging over to A: and executing
  71. the program with *.*:
  72.  
  73.      A>stufit *.*
  74.  
  75. The reorganized disk then looks as follows:
  76.  
  77.      ----------------
  78.       Space Usage for the Complete Diskette
  79.  
  80.          63%  452 sectors given to available free space
  81.                 1 sector  given to the boot record
  82.           1%    4 sectors given to the file allocation table
  83.           1%    7 sectors given to the file directory
  84.          36%  256 sectors given to normal files
  85.                No sectors given to hidden, system or read-only files
  86.                No sectors given to unavailable space (free with CHKDSK)
  87.                No sectors given to conflicting file space allocation
  88.                No sectors given to Bad-Track (unusable)
  89.  
  90.                          Map of Diskette Space
  91.              Track       1         2         3        3
  92.                0123456789012345678901234567890123456789
  93.              1 B░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  ░ Unused sector (free space)
  94.      Side  S 3 F░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  B Boot record
  95.        0   e 5 F░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  F File allocation table
  96.            c 7 D░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  D Directory
  97.      ╞════ t 9 D░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  ■ In use by a normal file
  98.            o 2 D░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  h Hidden, system, read-only
  99.      Side  r 4 ░░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■  █ Temporarily unavailable
  100.        1     6 ░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■■  X Conflicting allocation
  101.              8 ░░░░░░░░░░░░░░░░░░░░░░░░░■■■■■■■■■■■■■■■  b Bad-Track (unusable)
  102.       F1-help F2-save F3-new file F4-import data F9-expand  F10-contract Esc-exit
  103.       -----------------------------
  104.  
  105. All the quick-access space near the directory is now free for working
  106. storage.
  107.  
  108. A more representative hard disk situation is shown below.  Here, the disk
  109. has had a number of reference subdirectories stuffed into the inside,
  110. leaving a working space in the middle of the disk:
  111.  
  112.      -----------------------
  113.      ╔════════════════════════════════════════════════════════════════════════════
  114.      ║ Menu 2.3                                                                     ║
  115.      ║                    Map of Space Usage for the Entire Disk                    ║
  116.      ║                                                                              ║
  117.      ║                          34% of disk space is free                           ║
  118.      ║                                                                              ║
  119.      ║                        Proportional Map of Disk Space                        ║
  120.      ║            ■ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■B■■■■■■■ B            ║
  121.      ║   represents ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ represents   ║
  122.      ║        space ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ bad          ║
  123.      ║       in use ░░■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■░░░ sectors      ║
  124.      ║              ░░░■■░░░░░░░■░░░░░░░░░░■░■■■■■■■■■■■■░░░░░░░░░░░░░              ║
  125.      ║              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░              ║
  126.      ║              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░              ║
  127.      ║              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░■■░■■■■■■■░■■■■■■■■              ║
  128.      ║              ■■■■■■■■■■■■■■■■■■■■■■■░░░░■■■■■■■■■■■■■■■■■■■■■■■              ║
  129.      ║              ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■              ║
  130.      ║           Each position represents 1/500th of the total disk space           ║
  131.      ║                                                                              ║
  132.      ║              Press any key to continue...                                    ║
  133.      ║                                                                              ║
  134.      ╠══════════════════════════════════════════════════════════════════════════════╣
  135.      ║            Currently selected:  No file or disk sector selected              ║
  136.      ║                     Drive C:  Directory: root directory                      ║
  137.       F1-help F2-save F3-new file F4-import data F9-expand  F10-contract Esc-exit
  138.       -----------------------
  139.  
  140. At this point, the disk could no doubt benefit from stuffing some more of the
  141. less-frequently used files into the inside of the disk, freeing up the space
  142. nearest the outside.
  143.  
  144. In the final display below, the root directory files and the files on two
  145. of the larger subdirectories were stuffed.  The inner space of the disk
  146. is packed, but the outer/closer area is now  fragmented.  At some
  147. point a disk needs periodic maintenance in the form of a complete
  148. backup and restore, using STUFIT to put reference files away from the out-
  149. side of the disk.
  150.  
  151.      ------------------
  152.      ╔════════════════════════════════════════════════════════════════════════════
  153.      ║ Menu 2.3